#pragma once

#include "Vector2D.h"

//BeanieTexture struct
struct BeanieTexture
{
	//attributes
	int	m_texId;		//holds id to texture
	int m_matId;		//holds id to matrices
	int	m_width;		//holds width of texture
	int	m_height;		//holds height of texture
	int m_color;
	V2DF m_texCen;
	V2DF m_texMin;
	V2DF m_texMax;
	char* m_filePath;	//holds the file path location
	RECT m_rect;
	D3DXVECTOR3 m_center;

	//ctor
	BeanieTexture()
		: m_texId(-1),
		m_matId(-1),
		m_width(0),
		m_height(0),
		m_filePath(0){
			RECT temp = {0,0,m_width,m_height};
			m_rect = temp;
			m_center = D3DXVECTOR3((float)m_width/2.0f,
				(float)m_height/2.0f,0.0f);
	}
};